﻿<phone:PhoneApplicationPage
                            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                            xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
                            xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
                            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                            xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
                            xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                            xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" 
                            xmlns:GalaSoft_MvvmLight_Command="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WP71" x:Class="CDFWPUG.Views.pageAbout"
                             xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
                            mc:Ignorable="d"
                            d:DesignWidth="480"
                            d:DesignHeight="768"
                            FontFamily="{StaticResource PhoneFontFamilyNormal}"
                            FontSize="{StaticResource PhoneFontSizeNormal}"
                            Foreground="{StaticResource PhoneForegroundBrush}"
                            SupportedOrientations="Portrait"
                            Orientation="Portrait"
                            shell:SystemTray.IsVisible="True"
                            DataContext="{Binding PageAbout, Source={StaticResource Locator}}">

    <Grid x:Name="LayoutRoot"
          Background="{StaticResource MyPhoneBackgroundBrush}">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

   
        <!--ContentPanel - place additional content here-->
        <StackPanel x:Name="ContentPanel"
              Grid.Row="0"
              Margin="12,0,12,0">
            <controls:Pivot Foreground="{StaticResource MyPhoneForegroundBrush}" Height="759">
                <controls:PivotItem Header="about">
                    <ListBox HorizontalAlignment="Left" 
                     Margin="0" VerticalAlignment="Top" 
                     x:Name="listStarters" 
                     ScrollViewer.VerticalScrollBarVisibility="Visible" 
                     Width="450">
                        <i:Interaction.Triggers>
                            <i:EventTrigger EventName="SelectionChanged">
                                <GalaSoft_MvvmLight_Command:EventToCommand Command="{Binding AboutSelectCommand, Mode=OneWay}" PassEventArgsToCommand="True"/>
                            </i:EventTrigger>
                        </i:Interaction.Triggers>
                        <ListBoxItem Width="432" Margin="0,0,0,5" toolkit:TiltEffect.IsTiltEnabled="True" x:Name="itemContact">
                            <StackPanel Orientation="Horizontal">
                                <Image Height="100" Width="100" Stretch="UniformToFill" Source="/CDFWPUG;component/Resources/Icons/MB_0002_mail_sent.png"/>
                                <StackPanel>
                                    <TextBlock FontFamily="Segoe WP Black" Text="CONTACT" FontWeight="Bold" FontSize="48" Margin="5,0,0,0" Foreground="{StaticResource MyPhoneForegroundBrush}"/>
                                    <TextBlock Foreground="{StaticResource MyPhoneAccentBrush}" FontFamily="Segoe WP Semibold" Text="Get in touch with any queries you might have" FontWeight="Bold" FontSize="18.667" Margin="5,0,0,0" Width="280" TextWrapping="Wrap"/>
                                </StackPanel>
                            </StackPanel>

                        </ListBoxItem>
                        <ListBoxItem Width="432" Margin="0,0,0,5" toolkit:TiltEffect.IsTiltEnabled="True" x:Name="itemReview">
                            <StackPanel Orientation="Horizontal">
                                <Image Height="100" Width="100" Stretch="UniformToFill" Source="/CDFWPUG;component/Resources/Icons/MB_0007_book.png"/>
                                <StackPanel>
                                    <TextBlock FontFamily="Segoe WP Black" Text="REVIEW" FontWeight="Bold" FontSize="48" Margin="5,0,0,0" Foreground="{StaticResource MyPhoneForegroundBrush}"/>
                                    <TextBlock Foreground="{StaticResource MyPhoneAccentBrush}" FontFamily="Segoe WP Semibold" Text="Leave a review of the app" FontWeight="Bold" FontSize="18.667" Margin="5,0,0,0" Width="280"/>
                                </StackPanel>
                            </StackPanel>

                        </ListBoxItem>
                        <ListBoxItem Width="432" Margin="0,0,0,5" toolkit:TiltEffect.IsTiltEnabled="True" x:Name="itemApps">
                            <StackPanel Orientation="Horizontal">
                                <Image Height="100" Width="100" Stretch="UniformToFill" Source="/CDFWPUG;component/Resources/Icons/MB_0029_programs.png"/>
                                <StackPanel>
                                    <TextBlock FontFamily="Segoe WP Black" Text="APPS" FontWeight="Bold" FontSize="48" Margin="5,0,0,0" Foreground="{StaticResource MyPhoneForegroundBrush}"/>
                                    <TextBlock Foreground="{StaticResource MyPhoneAccentBrush}" FontFamily="Segoe WP Semibold" Text="See our other apps" FontWeight="Bold" FontSize="18.667" Margin="5,0,0,0" Width="280" TextWrapping="Wrap"/>
                                </StackPanel>
                            </StackPanel>
                        </ListBoxItem>

                    </ListBox>

                </controls:PivotItem>
                <controls:PivotItem Header="more" FontSize="13.333">
                    <StackPanel>
                        <TextBlock Style="{StaticResource MyPhoneTextAccentStyle}"><Run Text="Location Privacy Policy"/></TextBlock>
                        <TextBlock Foreground="{StaticResource MyPhoneBackgroundBrush}">i</TextBlock>
						<TextBlock TextWrapping="Wrap" Style="{StaticResource MyPhoneTextNormalStyle}"><Run Text="Please note that this app DOES NOT collect or use your current location (nor does it store it or transmit it anywhere)"/></TextBlock>
                        <TextBlock Foreground="{StaticResource MyPhoneBackgroundBrush}">i</TextBlock>
						<TextBlock TextWrapping="Wrap" Style="{StaticResource MyPhoneTextNormalStyle}" Text="Instead - the Bing maps service/control (provided by Microsoft with Windows Phone 7) may access your location while it is rendering maps"/>
                        <Button Content="view Microsoft's location privacy policy" Foreground="{StaticResource MyPhoneForegroundBrush}" BorderBrush="{StaticResource MyPhoneForegroundBrush}" FontSize="21.333" >
                        	<i:Interaction.Triggers>
                        		<i:EventTrigger EventName="Click">
                        			<GalaSoft_MvvmLight_Command:EventToCommand Command="{Binding PrivacyInfoCommand, Mode=OneWay}"/>
                        		</i:EventTrigger>
                        	</i:Interaction.Triggers>
                        </Button>
                    </StackPanel>
                </controls:PivotItem>
            </controls:Pivot>

        </StackPanel>
        
        
        
        
        
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->

</phone:PhoneApplicationPage>